package net.hotelOrderSystem.service;

import net.hotelOrderSystem.domain.Room;

import javax.xml.crypto.Data;
import java.sql.Time;
import java.util.Date;
import java.util.List;

public interface RoomService {
    List<Room> findRoom();
    void saveRoom(Room room);
    void deleteRoomByRoomNumber(String RoomNumber);
    void updateRoomByRoomNumber(String RoomNumber,Room room);
    public Room findRoomByRoomNumber(String roomNumber);
    public List<Room> findRoomByHotelId(String hotelId);
    void updateRoomStatu(Date inTime, Date outTime,String roomNumber);
}
